.ui-swiper {
  position: relative;

  .ui-swiper-main {
    width: 100%;
    height: 100%;
  }

  .ui-swiper-main .image {
    width: 100%;
    height: 100%;
  }

  .ui-swiper-dot {
    position: absolute;
    width: 100%;
    bottom: 20rpx;
    height: 30rpx;
    display: flex;
    align-items: center;
    justify-content: center;

    &.default .view {
      display: inline-flex;
      border-radius: 50rpx;
      width: 6px;
      height: 6px;
      border: 2px solid transparent;
      margin: 0 10rpx;
      opacity: 0.3;
      position: relative;
      justify-content: center;
      align-items: center;

      &.cur {
        width: 8px;
        height: 8px;
        opacity: 1;
        border: 0px solid transparent;
      }

      &.cur::after {
        content: '';
        border-radius: 50rpx;
        width: 4px;
        height: 4px;
        background-color: #fff;
      }
    }

    &.long .view {
      display: inline-block;
      border-radius: 100rpx;
      width: 6px;
      height: 6px;
      margin: 0 10rpx;
      opacity: 0.3;
      position: relative;

      &.cur {
        width: 24rpx;
        opacity: 1;
      }

      &.cur::after {}
    }

    &.line {
      bottom: 20rpx;

      .view {
        display: inline-block;
        width: 30px;
        height: 3px;
        opacity: 0.3;
        position: relative;

        &.cur {
          opacity: 1;
        }
      }
    }

    &.tag {
      justify-content: flex-end;
      position: absolute;
      bottom: 20rpx;
      right: 20rpx;
    }
  }

  &.card {
    .swiper-item {
      width: 610rpx !important;
      left: 70rpx;
      box-sizing: border-box;
      padding: 20rpx 0rpx 60rpx;
      overflow: initial;
    }

    .swiper-item .ui-swiper-main {
      width: 100%;
      display: block;
      height: 100%;
      border-radius: 10rpx;
      transform: scale(0.9);
      transition: all 0.2s ease-in 0s;
      position: relative;
      background-size: cover;

      .image {
        height: 100%;
        border-radius: inherit;
      }
    }

    .swiper-item .ui-swiper-main::before {
      content: '';
      display: block;
      background: inherit;
      filter: blur(5px);
      position: absolute;
      width: 100%;
      height: 100%;
      top: 10rpx;
      left: 10rpx;
      z-index: -1;
      opacity: 0.3;
      transform-origin: 0 0;
      border-radius: inherit;
      transform: scale(1, 1);
    }

    .swiper-item.cur .ui-swiper-main {
      transform: scale(1);
      transition: all 0.2s ease-in 0s;
    }

    .ui-swiper-dot.tag {
      position: absolute;
      bottom: 85rpx;
      right: 75rpx;
    }
  }

  &.hotelCard {
    .swiper-item {
      width: 650rpx !important;
      left: 30rpx;
      box-sizing: border-box;
      padding: 0rpx 0rpx 50rpx;
      overflow: initial;
    }

    .swiper-item .ui-swiper-main {
      width: 100%;
      display: block;
      height: 100%;
      border-radius: 10rpx;
      transform: scale(0.9);
      opacity: 0.8;
      transition: all 0.2s ease-in 0s;
      position: relative;
      background-size: cover;

      .image {
        width: 100%;
        height: 400rpx;
        border-radius: 10rpx 10rpx 0 0;
      }

    }

    .swiper-item .ui-swiper-main::before {
      content: '';
      display: block;
      background: inherit;
      filter: blur(5px);
      position: absolute;
      width: 100%;
      height: 100%;
      top: 10rpx;
      left: 10rpx;
      z-index: -1;
      opacity: 0.3;
      transform-origin: 0 0;
      border-radius: inherit;
      transform: scale(1, 1);
    }

    .swiper-item.cur .ui-swiper-main {
      transform: scale(1);
      transition: all 0.2s ease-in 0s;
      opacity: 1;
    }

    .ui-swiper-dot {
      display: none;
    }
  }

  &.hotelDetail {
    .swiper-item {
      width: 690rpx !important;
      left: 30rpx;
      box-sizing: border-box;
      padding: 20rpx 0rpx;
      overflow: initial;
    }

    .swiper-item .ui-swiper-main {
      width: 100%;
      display: block;
      height: 100%;
      transform: scale(0.96);
      transition: all 0.2s ease-in 0s;
      position: relative;
      background-size: cover;

      .image {
        height: 100%;
      }
    }

    .swiper-item.cur .ui-swiper-main {
      transform: scale(0.96);
      transition: all 0.2s ease-in 0s;
    }
  }
}

.swiper-item .ui-swiper-title {
  position: absolute;
  width: 88%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, .1);
  border-radius: 20rpx;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 5;
  text-align: center;
  font-size: 34rpx;
  font-weight: 700;
  color: #fff;
  padding: 50rpx 0;
}